﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Business;

namespace RPGSoundmixer {
    /// <summary>
    /// Der Basis Presenter, welcher generisch für alle Views eingesetzt werden kann
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public abstract class BasePresenter<T> {
        
        /// <summary>
        /// Die View, zu welcher der PResenter gehört
        /// </summary>
        protected T view;

        protected IDataHandler model; 

        /// <summary>
        /// Konstruktor
        /// </summary>
        /// <param name="view"></param>
        public BasePresenter(T view) {
            this.view = view;
            this.model = DataHandler.GetInstance(); 
        }

    }
}
